package com.hqyj.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;


@Component
@Data
public class Person {
    @Value("${name}")
    private String name;
    @Value("${gender}")
    private String gender;
    @Value("${age}")
    private Integer age;

}
